Ext.define('Seq.form.CheckboxGroupMask', {
	        extend : 'Ext.form.CheckboxGroup',
	        xtype : 'xcheckboxgroupmask',

	        labelAlign : 'right',

	        defaults : {
		        inputValue : true,
		        uncheckedValue : false
	        },

	        int2obj : function(value) {
		        var items = this.config.items, values = {};
		        for (var i in items) {
			        var name = items[i].name, mask = items[i].mask;
			        values[name] = new Boolean(value & mask).valueOf();
		        }
		        return values;
	        },

	        setValue : function(value) {
		        var me = this;
		        if (Ext.isNumber(value)) {
			        arguments[0] = me.int2obj(value);
		        }
		        return me.callParent(arguments);
	        }

        });